package org.zzh.dao.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.zzh.domain.cargo.extCproduct.CoExtCproduct;

import java.util.List;

@Mapper
public interface CoExtCproductMapper {
    void deleteBycontractProductId(@Param("contractProductId") String contractId);

    List<CoExtCproduct> list(@Param("contractId") String contractId, @Param("contractProductId") String contractProductId);

    CoExtCproduct findById(@Param("id") String id);

    void deleteById(@Param("id") String id);

    void update(CoExtCproduct coExtCproduct);

    void add(CoExtCproduct coExtCproduct);
}
